package com.example.springbootintegration.service;

import com.example.springbootintegration.common.PageVo;
import com.example.springbootintegration.entity.User;
import com.example.springbootintegration.vo.QueryVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @auther: zhangxin
 * @Description:
 */
public interface UserService {

    int deleteByPrimaryKey(String id);

    int insert(User record);

    User selectByPrimaryKey(String id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    int deleteByIds(String[] ids);

    PageInfo<User> selectByPage(PageVo pageVo, QueryVo queryVo);
}
